using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace test
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Resize(object sender, EventArgs e)
        {
            this.ControlBox = false;
            this.Left = -1;
            this.Top = -1;
            this.Height = this.MdiParent.Height;
            this.Width = this.MdiParent.Width;

        }

        private void desktopIcon1_Click(object sender, EventArgs e)
        {
            Form3 frm = new Form3();
            frm.Show();
        }
    }
}